# -*- coding: utf-8 -*-
import os

ABS_PATH = os.path.dirname(os.path.abspath(__file__))
SOCKET_FUNCS_PATH = '/srv/jabberbot/'
LOG_DIR = os.path.join(ABS_PATH, 'log/')
TORNADO_LOG_FILE = os.path.join(LOG_DIR, 'tornado.log')
CHAT_LOG_FILE = '/srv/jabberbot/log/chat.log'
TORNADO_PORT = 8082

MEMCACHED_HOST = '127.0.0.1:11211'
MEMCACHED_PATTERN = "tmr_%s"
MEMCACHED_TTL = 10
